import myFoo from '../components/myFoo.vue'
const myPlugin = {
    install(app) {
        console.log('app', app)
        app.directive('focus', el => el.focus())
        app.provide('name', 'zhangsan')
        app.component('myFoo', myFoo)
    }
}

export default myPlugin